home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Inventor Labs: Transportation
/
InventorLabs - Transportation.iso
/
pc
/
builders
/
media
/
netacess
/
url95.dir
/
00018_Script_18
< prev
next >
Wrap
Text File
|
1996-10-10
|
1KB
|
45 lines
on enterFrame
global TheWeb,WebError,AOLCount,OnlineCount
global BrowserRun, AOLOnline, AOLBusy
--
-- this handler initiates the AOL registration process
--
--
-- initialise the AOLCount varriable to 0
-- we will use it later to "track" false
-- returns from the AOLRunning method
--
set AOLCount = 0
set OnlineCount = 0
set the text of member "Password" to ""
set the text of member "UserName" to ""
set WebError = TheWeb(mRegisterAOL)
end
on exitFrame
global TheWeb,WebError,AOLCount,OnlineCount
if WebError <> 0 then
--
-- we were unable to launch the registration process,
-- so go back to the beginning of the application
--
set the text of member "ErrorReport" to TheWeb(mGetWebError,WebError)
set BrowserRun = TheWeb(mIsBrowserRunning)
set AOLOnline = TheWeb(mIsAOLOnline)
set AOLBusy = TheWeb(mIsAOLBusy)
set AOLReg = TheWeb(mIsAOLRegistered)
go "AOLHalt"
end if
end